
package com.engine4cloud.tdf.education.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 公益活动
 *
 * @author wenjie
 * @date 2024-08-13 11:16:58
 */
@Data
@Schema(description = "公益活动")
@AllArgsConstructor
@NoArgsConstructor
public class EduPublicWelfareActivitiesQueryDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 公益活动编号
     */
    @Schema(description = "公益活动编号")
    private String hdbh;

    /**
     * 活动内容
     */
    @Schema(description = "活动内容")
    private String hdnr;

    public EduPublicWelfareActivitiesQueryDTO(String code) {
        this.hdbh = code;
    }

}